package com.ys.erp.entity.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ys.erp.entity.data.bean.OrderAfterSale;
import com.ys.erp.entity.mapper.OrderAfterSaleMapper;
import com.ys.erp.entity.service.IOrderAfterSaleService;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author lwj
 * @date 2025/5/26
 */
    
@Service
public class IOrderAfterSaleServiceImpl extends ServiceImpl<OrderAfterSaleMapper, OrderAfterSale> implements IOrderAfterSaleService {

    @Override
    public List<OrderAfterSale> listByOrderIds(List<Long> orderIdList) {
        QueryWrapper<OrderAfterSale> qw = new QueryWrapper<>();
        qw.lambda().in(OrderAfterSale::getOrderId, orderIdList);
        return this.list(qw);
    }

}
